package Model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.net.ntp.TimeStamp;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
public class Department {
    private Integer id;
    private String department_name;
    private String department_phone_number;
    private String department_address;
    private String department_settlement_scope;
    private String department_corporate;
    private String department_settlement_code;
    private String department_region_code;
    private String department_status;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date department_first_settle_date;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date start_change_date;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date department_notification_date;

    @DateTimeFormat(pattern = "yyyy-MM-dd\'T\'HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd\'T\'HH:mm:ss", timezone = "GMT+8")
    private Date department_first_time;

    @DateTimeFormat(pattern = "yyyy-MM-dd\'T\'HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd\'T\'HH:mm:ss", timezone = "GMT+8")
    private Date department_change_time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDepartment_name() { return department_name; }

    public void setDepartment_name(String department_name) { this.department_name = department_name; }

    public String getDepartment_phone_number() { return department_phone_number; }

    public void setDepartment_phone_number(String department_phone_number) { this.department_phone_number = department_phone_number; }

    public String getDepartment_address() { return department_address; }

    public void setDepartment_address(String department_address) { this.department_address = department_address; }

    public String getDepartment_settlement_scope() { return department_settlement_scope; }

    public void setDepartment_settlement_scope(String department_settlement_scope) { this.department_settlement_scope = department_settlement_scope; }

    public String getDepartment_corporate() { return department_corporate; }

    public void setDepartment_corporate(String department_corporate) { this.department_corporate = department_corporate; }

    public String getDepartment_settlement_code() { return department_settlement_code; }

    public void setDepartment_settlement_code(String department_settlement_code) { this.department_settlement_code = department_settlement_code; }

    public String getDepartment_region_code() { return department_region_code; }

    public void setDepartment_region_code(String department_region_code) { this.department_region_code = department_region_code; }

    public String getDepartment_status() { return department_status; }

    public void setDepartment_status(String department_status) { this.department_status = department_status; }

    public Date getDepartment_first_time() { return department_first_time; }

    public void setDepartment_first_time(Date department_first_time) { this.department_first_time = department_first_time; }

    public Date getDepartment_change_time() { return department_change_time; }

    public void setDepartment_change_time(Date department_change_time) { this.department_change_time = department_change_time; }

    public Date getDepartment_first_settle_date() { return department_first_settle_date; }

    public void setDepartment_first_settle_date(Date department_first_settle_date) { this.department_first_settle_date = department_first_settle_date; }

    public Date getDepartment_notification_date() { return department_notification_date; }

    public void setDepartment_notification_date(Date department_notification_date) { this.department_notification_date = department_notification_date; }

    public Date getStart_change_date() {
        return start_change_date;
    }

    public void setStart_change_date(Date start_change_date) {
        this.start_change_date = start_change_date;
    }

    @Override
    public String toString() {
        return "Department{" +
                "id=" + id +
                ", department_name='" + department_name + '\'' +
                ", department_phone_number='" + department_phone_number + '\'' +
                ", department_address='" + department_address + '\'' +
                ", department_settlement_scope='" + department_settlement_scope + '\'' +
                ", department_corporate='" + department_corporate + '\'' +
                ", department_settlement_code='" + department_settlement_code + '\'' +
                ", department_region_code='" + department_region_code + '\'' +
                ", department_first_time=" + department_first_time +
                ", department_change_time=" + department_change_time +
                ", department_status=" + department_status +
                '}';
    }
}
